home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is Sun Microsystems code.
- -
- - The Initial Developer of the Original Code is Sun Microsystems.
- - Portions created by the Initial Developer are Copyright (C) 2006
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - Michael Buettner <michael.buettner@sun.com>
- -
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the GPL or the LGPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
-
- <?xml-stylesheet type="text/css" href="chrome://global/skin/global.css"?>
- <?xml-stylesheet type="text/css" href="chrome://calendar/skin/sun-calendar-event-dialog.css"?>
- <?xml-stylesheet type="text/css" href="chrome://calendar/content/sun-calendar-event-dialog.css"?>
- <?xml-stylesheet type="text/css" href="chrome://calendar/content/datetimepickers/datetimepickers.css"?>
-
- <!DOCTYPE dialog [
- <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd1;
- <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/sun-calendar-event-dialog.dtd" > %dtd2;
- <!ENTITY % calendar-event-dialogDTD SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd"> %calendar-event-dialogDTD;
- ]>
-
- <dialog id="sun-calendar-event-dialog-attendees"
- title="&invite.title.label;"
- onload="onLoad()"
- ondialogaccept="return onAccept();"
- ondialogcancel="return onCancel();"
- persist="screenX screenY"
- style="padding: 8px 10px 10px 8px;"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <!-- Javascript includes -->
- <script type="application/x-javascript" src="chrome://calendar/content/sun-calendar-event-dialog-attendees.js"/>
- <script type="application/x-javascript" src="chrome://calendar/content/calendar-dialog-utils.js"/>
- <script type="application/x-javascript" src="chrome://calendar/content/calUtils.js"/>
-
- <box orient="vertical" flex="1">
- <box orient="horizontal" align="center" pack="end">
- <spacer flex="1"/>
- <label value="&event.freebusy.suggest.slot;"/>
- <button label="&event.freebusy.previous.slot;"
- dir="normal"
- class="left-icon"
- id="previous-slot"
- oncommand="onPreviousSlot();"/>
- <button label="&event.freebusy.next.slot;"
- dir="reverse"
- class="right-icon"
- id="next-slot"
- oncommand="onNextSlot();"/>
- <spacer style="width: 10em"/>
- <label value="&event.freebusy.zoom;" control="zoom-menulist"/>
- <image class="zoom-out-icon"/>
- <menulist id="zoom-menulist"
- oncommand="onZoomFactor(this.value);">
- <menupopup>
- <menuitem label="400%" value="25"/>
- <menuitem label="200%" value="50"/>
- <menuitem label="100%" value="100"/>
- <menuitem label="50%" value="200"/>
- <menuitem label="25%" value="400"/>
- </menupopup>
- </menulist>
- <image class="zoom-in-icon"/>
- </box>
- <box orient="horizontal" flex="1">
- <box orient="vertical" flex="1">
- <box class="attendee-spacer-top"/>
- <attendees-list flex="1" id="attendees-list"/>
- <box class="attendee-spacer-bottom"/>
- </box>
- <splitter id="splitter"/>
- <box orient="vertical">
- <stack flex="1">
- <box orient="vertical" flex="1">
- <freebusy-timebar id="timebar"
- range="16"/>
- <freebusy-grid flex="1"
- id="freebusy-grid"
- range="16"/>
- </box>
- <selection-bar id="selection-bar"
- range="16"/>
- </stack>
- <scrollbar orient="horizontal"
- id="horizontal-scrollbar"
- maxpos="100"/>
- </box>
- <box orient="vertical"
- id="vertical-scrollbar-box"
- collapsed="true">
- <box class="attendee-spacer-top"/>
- <scrollbar orient="vertical"
- flex="1"
- id="vertical-scrollbar"
- maxpos="100"/>
- <box class="attendee-spacer-bottom"/>
- </box>
- </box>
- <box orient="horizontal">
- <box orient="vertical" flex="1">
- <box orient="horizontal" align="center">
- <box class="legend" status="FREE"/>
- <label value="&event.freebusy.legend.free;"/>
- </box>
- <box orient="horizontal" align="center">
- <box class="legend" status="BUSY"/>
- <label value="&event.freebusy.legend.busy;"/>
- </box>
- <box orient="horizontal" align="center">
- <box class="legend" status="UNKNOWN"/>
- <label value="&event.freebusy.legend.unknown;"/>
- </box>
- <box orient="horizontal">
- <button label="&event.freebusy.minus;"
- oncommand="onMinus();"/>
- <button label="&event.freebusy.plus;"
- oncommand="onPlus();"/>
- </box>
- <box orient="horizontal" collapsed="true">
- <label value="&event.organizer.label;" disabled="true" control="event-organizer"/>
- <textbox id="event-organizer"
- disabled="true"
- flex="true"/>
- </box>
- </box>
- <grid>
- <columns>
- <column/>
- <column flex="1"/>
- </columns>
- <rows>
- <row align="center">
- <spacer/>
- <checkbox id="all-day"
- oncommand="changeAllDay();"
- label="&event.alldayevent.label;"/>
- </row>
- <row align="center">
- <label value="&newevent.from.label;" control="event-starttime"/>
- <datetimepicker id="event-starttime"
- onchange="updateStartTime();"/>
- <label id="timezone-starttime"
- crop="right"
- class="text-link"
- flex="1"
- collapsed="true"
- hyperlink="true"
- onclick="editStartTimezone()"/>
- </row>
- <row align="center">
- <label value="&newevent.to.label;" control="event-endtime"/>
- <datetimepicker id="event-endtime"
- onchange="updateEndTime();"/>
- <label id="timezone-endtime"
- crop="right"
- class="text-link"
- flex="1"
- collapsed="true"
- hyperlink="true"
- onclick="editEndTimezone()"/>
- </row>
- </rows>
- </grid>
- </box>
- <separator class="groove"/>
- </box>
- </dialog>
-